package src.first;

import java.util.Random;

public class demo07 {
//    public static void main(String[] args) {
//        for (int i = 0; i < args.length; i++) {
//            System.out.println(args[i]);
//        }
//    }

    static int i = 10;

    public void test01(){
        System.out.println("test01");
    }

    public static void main(String[] args) {
//        demo07 demo = new demo07();
//        demo.test01();
//        demo.i = 70;
//        System.out.println(demo.i);
//        demo07 demo1 = new demo07();
//        System.out.println(demo1.i);

//        String[] titles = {"《java》","C语言","python"};
//        for (int i1 = 0; i1 < 5; i1++) {
//            new test(titles[new Random().nextInt(3)]);
//        }
//        System.out.println(test.getCount());

//        Emperor emperor = Emperor.getInstance();
//        emperor.getName();
//        Emperor emperor1 = Emperor.getInstance();
//        emperor1.getName();
//        System.out.println(emperor1==emperor);

//        Circle circle = new Circle(2);
//        String name = circle.getName();
//        double area = circle.getArea();
//        System.out.println("name:"+name);
//        System.out.println("area:"+area);

//        Car bmw = CarFactory.getCar("BMW");
//        System.out.println(bmw.getInfo());
//        Car benz = CarFactory.getCar("Benz");
//        System.out.println(benz.getInfo());

//        Employee e1 = new Employee(1,"java",21);
//        Employee e2 = new Employee(2,"python",22);
//        Employee e3 = new Employee(3,"c",25);
//
//        int i1 = e1.compareTo(e2);
//        System.out.println(i1);

//        SClass s = new SClass();



    }
}
